ExamPlay Light Logo
Logga in

Computer Science for IGCSE & O level - Programming (Section 1 - No. 40)

Which variable(s) are likely to be declared as global variables?
StudentTotal
ClassName
SubjectTotal
Mark

Förklaring

Global variables are accessible from anywhere in the program. In the code examples, variables like ClassName and student-related totals would likely be global, whereas Mark is only used within inner loops.

Kommentarer (0)

Logga in för att kommentera
Annons
BrainBehindX Inc Logo
©2026; Drivs av BrainBehindX Inc